from ftllibs.items.itemtools import ItemIconData

class Item_3003():
    def __init__(self):
        self.parent=False
        self.Name="Archangel's Staff"
        self.IconFileName="3003.png"
        self.ID=3003
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3070','1027','1005','1026']
        self.Builds_Into=[]
        self.Tags=['spell_damage','mana','mana_regen']
        self.Costs = 1000
        self.Total_Costs = 2855
        self.Description="+400 Mana +25 Mana Regen per 5 seconds +45 Ability Power  Passive: Grants Ability Power equal to 3% of your maximum Mana.  UNIQUE Passive: Each time you use an ability, your maximum Mana increases by 4 (3 second cooldown). Bonus caps at +1000 Mana. Does not stack with Tear of the Goddess or Manamune."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Mana += 400.0
        self.parent.Mana += 1000.0
        self.parent.Mana_Regen_per_5_seconds += 25.0
        self.parent.Ability_Power += 45.0
        self.parent.Ability_Power += self.parent.Mana * 0.03
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass
